const config = require('../')
const TumblrStrategy = require('passport-tumblr').Strategy

module.exports = new TumblrStrategy({
    consumerKey: config.tumblr.consumer_key,
    consumerSecret: config.tumblr.consumer_secret,
    callbackURL: config.tumblr.callbackURL
}, function(token, tokenSecret, profile, done) {
    console.log(profile)
    done(null, profile)
})
